Public Types | |
enum | Type { kString, kAdd, kSubtract, kMulitply, kDivide, kOpenParenthesis, kCloseParenthesis, kResult } |
Public Member Functions | |
StringToken (const std::string &str) | |
StringToken (const StringToken &token) | |
StringToken (Type type, double value=0) | |
Public Attributes | |
Type | type |
double | result |
enum Type |
StringToken | ( | const std::string & | str | ) | [inline] |
StringToken | ( | const StringToken & | token | ) | [inline] |
StringToken | ( | Type | type, | |
double | value = 0 | |||
) | [inline] |
double result |